<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Subir Fichero</title>
</head>
<body>
	<form id="formularioNoticia" method="post" action="Controlador" enctype="multipart/form-data">
		<fieldset>
			<legend> Ficheros </legend>
			<p>
				<label for="fichero">Fichero:</label>
				<input type="file" name="fichero">
			</p>
			<p>
				<input type="submit" value="aceptar" onclick="javascript:anadirFichero()">
				<input type="button" value="cancelar" onclick="javascript:volver2('formularioNoticia')">
			</p>
		</fieldset>
		<%if (request.getParameter("tipo_noticia") != null){ %>
		<input type="hidden" name="opcion" value="44b"/>
		<%}else{ %>
		<input type="hidden" name="opcion" value="44a"/>
		<%} %>
		</form>
</body>
</html>